body {
  background-color: $body-color;
  overflow-x: hidden;
}

::selection {
  background: lighten($color: $primary-color, $amount: 10);
  color: $white;
}

/* preloader */

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

img {
  vertical-align: middle;
}

.articlefigure {

  img{
    border: solid 4px #ECEFF4;
    border-radius: 8px;
  }

  figcaption{
    font-style: italic;
  }
}

a,
a:hover,
a:focus {
  text-decoration: none;
}

a.text-primary:hover{
  color: $primary-color !important;
}

a,
button,
select {
  cursor: pointer;
  transition: .2s ease;

  &:focus {
    outline: 0;
  }
}

a:hover {
  color: $primary-color;
}

.slick-slide {
  outline: 0;
}

.section {
  padding-top: 150px;
  padding-bottom: 150px;

  &-sm {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  &-title {
    margin-bottom: 30px;
  }
}

.bg-cover {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.border-primary {
  border-color: $border-color !important;
}

/* overlay */

.overlay {
  position: relative;

  &::before {
    position: absolute;
    content: '';
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: $black;
    opacity: .5;
  }
}

.outline-0 {
  outline: 0 !important;
}

.d-unset {
  display: unset !important;
}

.bg-primary {
  background: $primary-color !important;
}

.text-primary {
  color: $primary-color !important;
}

.text-dark {
  color: $text-color-dark !important;
}

.text-light {
  color: $text-color-light !important;
}

.text-color {
  color: $text-color;
}

.mb-10 {
  margin-bottom: 10px !important;
}

.mb-20 {
  margin-bottom: 20px !important;
}

.mb-30 {
  margin-bottom: 30px !important;
}

.mb-40 {
  margin-bottom: 40px !important;
}

.mb-50 {
  margin-bottom: 50px !important;
}

.mb-60 {
  margin-bottom: 60px !important;
}

.mb-70 {
  margin-bottom: 70px !important;
}

.mb-80 {
  margin-bottom: 80px !important;
}

.mb-90 {
  margin-bottom: 90px !important;
}

.mb-100 {
  margin-bottom: 100px !important;
}

.ml-10 {
  margin-left: 10px;
}

.zindex-1 {
  z-index: 1;
}

.overflow-hidden {
  overflow: hidden;
}

.border-primary {
  border-color: $primary-color !important;
}

.font-weight-medium{
  font-weight: 500 !important;
}

/* form control */
.form-control{
  height: 50px;
  border-radius: 0;
  &:focus{
    box-shadow: none;
    outline: 0;
    border-color: $primary-color;
  }
  &::placeholder {
    font-size: 13px;
  }
}

textarea.form-control{
  height: 150px;
}

a.bg-primary:focus, a.bg-primary:hover, button.bg-primary:focus, button.bg-primary:hover{
  background: $primary-color !important;
}

/* pointer */
.pointer{
  cursor: pointer;
}

/* highlighted */
.highlighted{
  color: $primary-color !important;
}

/* number of results in search */
.num-results{
  font-size: 17.5px;
  line-height: 24px;
  padding-bottom: 25px;
}

.no-results{
  color: $text-color-dark;
  font-size: 17.5px;
  line-height: 24px;
  margin-bottom: 0.5rem;
}

.no-results-subtext{
  color: $text-color-light;
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 2rem;
}

/* mark word in search results */
mark{
  padding: 0;
}

/* border in img */
.border-img{
  border: solid 4px #ECEFF4;
  border-radius: 8px;
}

input.search-box[type="search"]::-webkit-search-decoration,
input.search-box[type="search"]::-webkit-search-cancel-button,
input.search-box[type="search"]::-webkit-search-results-button,
input.search-box[type="search"]::-webkit-search-results-decoration {
  display: none;
}